import React, { PureComponent } from 'react';
import OdocPortalCommonComp from './common/OdocPortalCommonComp';

export default class OdocPortalOdocWFComp extends PureComponent {
  render() {
    const { params } = this.props;
    const portalCompProps = {
      tabParams: { reqType: params.id },
      tabUrl: '/api/odoc/odocDoclib/getNewDocLibCount',
      tableUrl: '/api/odoc/odocDoclib/getNewDocLibrary',
      tabKey: 'officalType',
    };
    return (
      <OdocPortalCommonComp ecId={`${this && this.props && this.props.ecId || ''}_OdocPortalCommonComp@dei4bf`}
        {...portalCompProps}
      />
    );
  }
}

